import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/lfs";

// 查询钱包信息
export function queryAgtWallet() {
  return request({
    url: '/lfs-admin/agtWallet/getAgtWallet',
    method: 'post'
  })
}

// 查询资金明细记录
export function queryWalletApproveList(data){
  return request({
    url: '/lfs-admin/walletApprove/queryWalletApproveList',
    method: 'post',
    data: data
  })
}

// 更新审批记录
export function updateApproveInfo(data){
  return request({
    url: '/lfs-admin/walletApprove/updateApproveInfo',
    method: 'put',
    data: data
  })
}

// 新增审批记录
export function addWalletApprove(data){
  return request({
    url: '/lfs-admin/walletApprove/addWalletApprove',
    data: data,
    method: 'post'
  })
}